package com.yeban.factory.simple;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/11/24
 */
public class Test {

    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee = coffeeStore.orderCoffee("Cappuccino");
        coffee.addMilk();
        coffee.addSugar();
        System.out.println(coffee.getName());
    }
}
